package cn.kgc.commons.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * <p>添加描述信息</p>
 *
 * @author 卢传琪
 */
@Component
@PropertySource(value = "classpath:application.yml",encoding = "utf-8")
@ConfigurationProperties(prefix = "alioss")
@Data
public class OssFileConfig {
    private String endpoint; //节点
    private String accessKeyId;//访问密钥
    private String accessSecret;//访问密钥
    private String bucketName;//存储空间
    private String objectName;//文件夹
    private String ossHost;//访问域名
}
